python check namespace has instance

50

python check namespace has instance -

if hasattr(a, 'property'):
    a.property

Comments

Submit
0 Comments